#ifndef ANALYSISTAB_H
#define ANALYSISTAB_H

#include "imageloader.h"
#include "seedcounter.h"
#include <memory.h>
#include <QMessageBox>
#include <QtGui/QWidget>

using namespace std;
namespace Ui {
    class AnalysisTab;
}

class AnalysisTab : public QWidget {
    Q_OBJECT
public:
    AnalysisTab(QWidget *parent = 0);
    ~AnalysisTab();
    void addLoader(ImageLoader *loader);
    void showContent();

protected:
    void changeEvent(QEvent *e);

private slots:
    void analysis();

private:
    Ui::AnalysisTab *m_ui;
    QPointer<ImageLoader> imgL;
    SeedCounter* sCounter;
};

#endif // ANALYSISTAB_H
